package com.captainbank.tcl.tclapplication.utils.database;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

import com.captainbank.tcl.tclapplication.model.DaoMaster;

/**
 * Created by TCL on 2017/5/17.
 */

public class DbHelper extends DaoMaster.OpenHelper {
    private static final String DBNAME = "tcl.db";

    public DbHelper(Context context) {
        super(context, DBNAME, null);
    }

    @Override
    //数据库升级(数据迁移)
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
//        MigrationHelper.migrate(db,ConfigurationDao.class);
    }

}
